package com.hrm.dao;

import java.util.HashSet;
import java.util.List;

import com.hrm.domain.Document;
import com.hrm.domain.DocumentExt;

/*
 * 文件数据处理层接口
 */
public interface DocumentDao {

	public List<DocumentExt> getAllDocuExt();

	public List<DocumentExt> getDocumentExtsByTerm(HashSet<Integer> flag, Object... parametes);

	public Integer getCount(HashSet<Integer> flag, Object... parametes);

	public Integer addDocument(Document newDocument);

	public Document getDocumentByID(int ID);

	public Integer delDocument(int ID);

	public Integer modifyDocumentByID(Document docu, int ID);

}
